from django.contrib import admin

from .models import Articles


class ArticlesAdmin(admin.ModelAdmin):
    list_display = ('title', 'content', 'pub_time')
    list_filter = ('pub_time',)

admin.site.register(Articles, ArticlesAdmin)

